import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:scoped_model/scoped_model.dart';
import 'package:wangziyi_app/constans/constans.dart';

class ThemeColorModel extends Model{

    int _appThemeColorIndex=6;
    Color _appThemeColor=AppThemeColors().themeColorList[6];

    get appThemeColor=> _appThemeColor;
    get appThemeColorIndex=> _appThemeColorIndex;

    void increment(Color color,int index){
        _appThemeColor=color;
        _appThemeColorIndex=index;
      notifyListeners();
    }

}

